body {
    font-family: 'Microsoft YaHei', sans-serif;
    background-color: #FFE4E1;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 100%;
    margin: 0;
    text-align: left;
    background-color: #FFF;
    padding: 15px;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding-top: 30px;
}

h1 {
    color: #FF4500;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    font-size: 24px;
    margin: 0 0 30px 0;
}

.wheel-container {
    position: relative;
    margin: 20px auto;
    width: 300px;
    height: 300px;
    max-width: 80vw;
    max-height: 80vw;
}

#wheel {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}

#spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 10px 20px;
    font-size: 16px;
    background-color: #FF4500;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

#spin-button:hover {
    background-color: #FF6347;
}

.hidden {
    display: none !important;
}

#winner-form {
    margin-top: 20px;
    padding: 20px;
    background-color: #FFF8DC;
    border-radius: 10px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;  
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    width: 100%;
}

.form-group {
    margin: 15px 0;
    text-align: left;
}

label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-size: 14px;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    box-sizing: border-box;
}

textarea {
    height: 80px;
    resize: vertical;
}

button[type="submit"] {
    background-color: #FF4500;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 16px;
    margin-top: 10px;
}

button[type="submit"]:hover {
    background-color: #FF6347;
}

@media screen and (min-width: 768px) {
    body {
        padding: 20px;
        background-color: #FFE4E1;
    }

    .container {
        max-width: 800px;
        margin: 20px auto;
        padding: 30px;
        border-radius: 10px;
        background-color: #FFF;
    }

    .wheel-container {
        width: 400px;
        height: 400px;
        max-width: none;
        max-height: none;
        margin: 30px auto;
    }

    h1 {
        font-size: 32px;
        margin: 0 0 30px 0;
    }

    #spin-button {
        width: 90px;
        height: 90px;
        font-size: 18px;
    }
}

/* 弹出层样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    max-width: 80%;
    width: 300px;
    animation: modalShow 0.3s ease-out;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

@keyframes modalShow {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.modal-header h3 {
    margin: 0;
    color: #FF4500;
    font-size: 18px;
}

.modal-body {
    padding: 20px;
    text-align: center;
}

.modal-body p {
    margin: 0;
    color: #333;
    font-size: 16px;
}

.modal-footer {
    padding: 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.modal-btn {
    background-color: #FF4500;
    color: white;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.modal-btn:hover {
    background-color: #FF6347;
}

/* 指针样式 */
.wheel-pointer {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 40px;
    z-index: 2;
}

.wheel-pointer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 20px solid #FF4500;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.2));
}

@media screen and (min-width: 768px) {
    .wheel-pointer {
        width: 40px;
        height: 50px;
    }
    
    .wheel-pointer::before {
        border-left-width: 20px;
        border-right-width: 20px;
        border-top-width: 25px;
    }
}

.activity-info {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.activity-info h2 {
    color: #e60012;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.activity-info p {
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.prize-list {
    margin: 20px 0;
    padding: 15px;
    background: #fff8f8;
    border-radius: 8px;
}

.prize-list h3, .activity-rules h3 {
    color: #e60012;
    margin-bottom: 15px;
    font-size: 20px;
}

.prize-list ul {
    list-style: none;
    padding: 0;
}

.prize-list li {
    margin: 10px 0;
    padding: 5px 0;
    color: #333;
}

.prize-name {
    color: #e60012;
    font-weight: bold;
    margin-right: 10px;
}

.activity-rules {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
}

.activity-rules ol {
    padding-left: 20px;
}

.activity-rules li {
    margin: 10px 0;
    color: #333;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .activity-info {
        margin: 10px;
        padding: 15px;
    }

    .activity-info h2 {
        font-size: 20px;
    }

    .prize-list h3, .activity-rules h3 {
        font-size: 18px;
    }
}

.share-button {
    display: inline-block;
    background-color: #FF4500;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.share-button:hover {
    background-color: #FF6347;
} 